package com.xoms.pad.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 找回密码-修改密码
 **/
public class FindPasswordParam {
	@NotEmpty(message = "临时token不能为空！")
	private String tempToken; // 验证验证码接口返回的临时token
	@Pattern(regexp = "^[a-zA-Z0-9]{5,17}$", message = "密码格式不正确")
	private String pwd; // 密码，大小写字母数字6-18
	@Pattern(regexp = "^[a-zA-Z0-9]{5,17}$", message = "确认密码格式不正确")
	private String submitPwd; // 密码，大小写字母数字6-18

	public void setTempToken(String tempToken) {
 		this.tempToken = tempToken;
	}

	public String getTempToken() {
 		return tempToken;
	}

	public void setPwd(String pwd) {
 		this.pwd = pwd;
	}

	public String getPwd() {
 		return pwd;
	}

	public void setSubmitPwd(String submitPwd) {
 		this.submitPwd = submitPwd;
	}

	public String getSubmitPwd() {
 		return submitPwd;
	}

}
